package com.hlhj.funlike_business.presenter;

import android.content.Context;

import com.example.mymvp.mvp.BasePresenter;
import com.hlhj.funlike_business.bean.MsgBean;
import com.hlhj.funlike_business.moudle.PhoneNumberMoudle;
import com.hlhj.funlike_business.views.PhoneNumberView;

public class PhoneNumberPresenter extends BasePresenter<PhoneNumberMoudle,PhoneNumberView> implements PhoneNumberMoudle.getResult {
    @Override
    public void createModule() {
        module = new PhoneNumberMoudle();
        module.setLisenter(this);
    }

    public void LoadResult(Context context,String tel){
        module.LoadResult(context,tel);
    }
    @Override
    public void loadResult(MsgBean msgBean) {
        getView().showResult(msgBean);
    }
}
